Skip to content

Refactor: rename AdvancedTrim.Trim() --> AdvancedTrim.trim() .#6

Open
apetro wants to merge 4 commits into
Jasig:masterfrom
apetro:refactor-advanced-trim-trim
Open

Refactor: rename AdvancedTrim.Trim() --> AdvancedTrim.trim() .#6
apetro wants to merge 4 commits into
Jasig:masterfrom
apetro:refactor-advanced-trim-trim

Conversation

@apetro

@apetro apetro commented Feb 2, 2017

Copy link
Copy Markdown
Member

Syle: Java method names should be camelCase rather than TitleCase, so AdvancedTrim.trim( String ) rather than AdvancedTrim.Trim( String ).

Supported by unit test discovering, staving off regression of the behavior of the pre-existing Trim() method and JavaDoc documenting the behavior. (Commit sequence first tests and documents, then refactors.)

(Verified mvn package still succeeds, new unit test and all, and resulting .app launches.)

@ChristianMurphy ChristianMurphy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @apetro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants